package com.jt.controller;

import com.jt.pojo.Storage;
import com.jt.service.StorageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/*库存*/
@RestController
@RequestMapping("/Storage")
public class StorageDelete {

    @Autowired
    private StorageService storageService;

    @GetMapping("/StorageDelete")
    public boolean StorageDelete(int count, int StorageId) {
        return storageService.StorageDelete(count,StorageId);
    }
}
